import { SalesOrdersAPI, workOrderAPI } from '@/api/layout'
const state = {
}
const getters = {
}
const mutations = {
}
const actions = {
  async getSalesOrders (context, payloaf) {
    const res = await SalesOrdersAPI(payloaf)
    console.log(11)
    console.log(res)
  },
  async getWorkOrder (context, payload) {
    const res = await workOrderAPI(payload)
    console.log(111)
    console.log(res)
  }
}
export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
}
